<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>输入框</title>
    <style>
        input {
            width: 535px;
            height: 40px;
            background: url(/Users/apple/前端/CSS/输入框/camera_01.png) no-repeat 500px center;
        }

        input:focus {
            background: url(/Users/apple/前端/CSS/输入框/camera_02.png) no-repeat 500px center;
        }
    </style>
</head>

<body>
    <input type="text">
</body>

</html>